﻿<local:MyPage
    x:Class="ConstellationShow.Pages.Famous"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    xmlns:local="clr-namespace:ConstellationShow"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480"
    shell:SystemTray.IsVisible="True">
    
    <local:MyPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" BackgroundColor="#FF7F49D1" ForegroundColor="{StaticResource PhoneInverseBackgroundColor}">
            <shell:ApplicationBarIconButton x:Name="appbar_button1" Click="Click_Share" IconUri="/Images/i_share.png" Text="分享"/>
        </shell:ApplicationBar>
    </local:MyPage.ApplicationBar>
    
	<local:MyPage.Resources>
		<Style x:Key="ButtonStyle1" TargetType="Button">
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="Button">
						<Canvas x:Name="canvas" Background="#FFCF74F1" Margin="0,0,-3,-2">
							<VisualStateManager.VisualStateGroups>
								<VisualStateGroup x:Name="CommonStates">
									<VisualState x:Name="Disabled"/>
									<VisualState x:Name="Normal"/>
									<VisualState x:Name="MouseOver">
										<Storyboard>
											<ColorAnimation Duration="0" To="White" Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)" Storyboard.TargetName="canvas" d:IsOptimized="True"/>
											<ColorAnimation Duration="0" To="#FFCF74F1" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="textBlock" d:IsOptimized="True"/>
										</Storyboard>
									</VisualState>
									<VisualState x:Name="Pressed">
										<Storyboard>
											<ColorAnimation Duration="0" To="White" Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)" Storyboard.TargetName="canvas" d:IsOptimized="True"/>
											<ColorAnimation Duration="0" To="#FFCF74F1" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="textBlock" d:IsOptimized="True"/>
										</Storyboard>
									</VisualState>
								</VisualStateGroup>
							</VisualStateManager.VisualStateGroups>
							<TextBlock x:Name="textBlock" Canvas.Left="12" TextWrapping="Wrap" Text="投票" Canvas.Top="3" Height="18" Width="41" FontSize="17.333"/>
						</Canvas>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
	</local:MyPage.Resources>

    <!--LayoutRoot 是包含所有页面内容的根网格-->
    <Grid x:Name="LayoutRoot">
        <Grid.Background>
            <ImageBrush Stretch="Fill" ImageSource="/Images/blackground.jpg"/>
        </Grid.Background>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel 包含应用程序的名称和页标题-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
            <TextBlock x:Name="PageTitle" Text="狮子座" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}" Foreground="#FF6624C1" FontSize="60"/>
        </StackPanel>

        <!--ContentPanel - 在此处放置其他内容-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
        	<ScrollViewer d:LayoutOverrides="Height">
        		<Grid Width="456">
        			<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="姓名：" Foreground="Black" Width="84" Margin="30,0,0,0" Height="28" VerticalAlignment="Top" TextAlignment="Right"/>
        			<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="性别：" Foreground="Black" Width="84" Margin="30,28,0,0" Height="28" VerticalAlignment="Top" TextAlignment="Right"/>
        			<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="别名：" Foreground="Black" Width="84" Margin="30,60,0,0" Height="28" VerticalAlignment="Top" TextAlignment="Right"/>
        			<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="英文名：" Foreground="Black" Width="84" Margin="30,92,0,0" Height="28" VerticalAlignment="Top" TextAlignment="Right"/>
        			<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="出生年：" Foreground="Black" Width="84" Margin="30,124,0,0" Height="28" VerticalAlignment="Top" TextAlignment="Right"/>
        			<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="生日：" Foreground="Black" Width="84" Margin="30,154,0,0" Height="28" VerticalAlignment="Top" TextAlignment="Right"/>
        			<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="星座：" Foreground="Black" Width="84" Margin="30,184,0,0" Height="28" VerticalAlignment="Top" TextAlignment="Right"/>
        			<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="国籍：" Foreground="Black" Width="84" Margin="30,216,0,0" Height="28" VerticalAlignment="Top" TextAlignment="Right"/>
        			<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="地域：" Foreground="Black" Width="84" Margin="30,248,0,0" Height="28" VerticalAlignment="Top" TextAlignment="Right"/>
        			<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="身高：" Foreground="Black" Width="84" Margin="30,280,0,0" TextAlignment="Right" Height="28" VerticalAlignment="Top"/>
        			<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="人气：" Foreground="Black" Width="84" Margin="30,312,0,310" TextAlignment="Right"/>
        			<TextBlock x:Name="txt1" TextWrapping="Wrap" Foreground="Black" Margin="117,0,149,0" Height="28" VerticalAlignment="Top"/>
        			<TextBlock x:Name="txt2" TextWrapping="Wrap" Foreground="Black" Margin="117,28,149,0" Height="28" VerticalAlignment="Top"/>
        			<TextBlock x:Name="txt3" TextWrapping="Wrap" Foreground="Black" Margin="117,60,149,0" Height="28" VerticalAlignment="Top"/>
        			<TextBlock x:Name="txt4" TextWrapping="Wrap" Foreground="Black" Margin="117,92,149,0" Height="28" VerticalAlignment="Top"/>
        			<TextBlock x:Name="txt5" TextWrapping="Wrap" Foreground="Black" Margin="117,124,149,0" Height="28" VerticalAlignment="Top"/>
        			<TextBlock x:Name="txt6" TextWrapping="Wrap" Foreground="Black" Margin="117,154,149,0" Height="28" VerticalAlignment="Top"/>
        			<TextBlock x:Name="txt7" TextWrapping="Wrap" Foreground="Black" Margin="117,184,149,0" Height="28" VerticalAlignment="Top"/>
        			<TextBlock x:Name="txt8" TextWrapping="Wrap" Foreground="Black" Margin="117,216,149,0" Height="28" VerticalAlignment="Top"/>
        			<TextBlock x:Name="txt9" TextWrapping="Wrap" Foreground="Black" Margin="117,248,149,0" Height="28" VerticalAlignment="Top"/>
        			<TextBlock x:Name="txt10" TextWrapping="Wrap" Foreground="Black" Margin="117,280,149,0" Height="28" VerticalAlignment="Top"/>
        			<TextBlock x:Name="txt11" TextWrapping="Wrap" Foreground="Black" Margin="117,312,149,310"/>
        			<TextBlock HorizontalAlignment="Left" Margin="30,365,0,235" TextWrapping="Wrap" Text="魅力：" VerticalAlignment="Top" Foreground="Black" TextAlignment="Right"/>
        			<TextBlock x:Name="num1" HorizontalAlignment="Left" Margin="92,365,0,234" TextWrapping="Wrap" Text="15000" VerticalAlignment="Top" Foreground="#FF601986" Width="69"/>
        			<Button Click="Button_Click" Tag="0" Content="Button" HorizontalAlignment="Left" Height="26" Margin="161,365,0,235" Style="{StaticResource ButtonStyle1}" VerticalAlignment="Top" Width="58"/>
        			<TextBlock HorizontalAlignment="Right" Margin="0,365,150,235" TextWrapping="Wrap" Text="实力：" VerticalAlignment="Top" Foreground="Black" TextAlignment="Right"/>
        			<TextBlock x:Name="num2" HorizontalAlignment="Right" Margin="0,365,79,234" TextWrapping="Wrap" Text="15000" VerticalAlignment="Top" Foreground="#FF601986" Width="69"/>
                    <Button Click="Button_Click" Tag="1" Content="Button" HorizontalAlignment="Right" Height="26" Margin="0,365,21,236" Style="{StaticResource ButtonStyle1}" VerticalAlignment="Top" Width="58"/>
        			<TextBlock x:Name="text" Margin="30,425,21,0" TextWrapping="Wrap" VerticalAlignment="Top" Foreground="#FF1D1D1D"/>
        			<Canvas HorizontalAlignment="Right" Height="133" Margin="0,8,21,0" VerticalAlignment="Top" Width="100" Background="#FFBEAEDA">
        				<Image x:Name="img" Stretch="Fill" Width="100" Height="133" Source="/Images/pic.png"/>
        			</Canvas>
        		</Grid>
        	</ScrollViewer></Grid>
    </Grid>
 
</local:MyPage>
